import { post } from '@/utils/request'

export function updateData(data) {
  return post('/exam/api/sys/user/update', data)
}

export function updateImage(data) {
  return post('/exam/api/sys/user/update/image', data)
}

export function saveData(data) {
  return post('/exam/api/sys/user/save', data)
}

export function userReg(data) {
  return post('/exam/api/sys/user/reg', data)
}

export function getData() {
  return post('/exam/api/sys/user/page',{current:1,size:5})
}

export function examInfo(data) {
  return post('/exam/api/sys/user/exam', { userId: data, current: 1, size: 4 })
}

